package com.tambapps.p2p.fandem.util


import java.io.File
import java.io.IOException

class RecordingFileProvider(val baseProvider: FileProvider? = null) : FileProvider {

    val files: MutableList<File> = ArrayList()

    @Throws(IOException::class)
    override fun newFile(name: String): File {
        val file = baseProvider!!.newFile(name)
        files.add(file)
        return file
    }
}
